﻿<?xml version="1.0" encoding="utf-8" ?>
<documentmerger type="pdf" created="2011-11-01">
  <sourcedocuments>
    <sourcedocument id="bills" type="pdf">
      <name>dummy.pdf</name>
      <filepath>c:\my documents\importfiles</filepath>
      <pages>
        <page number="10"/>
        <page number="20"/>
        <page number="15"/>
        <page number="34"/>
      </pages>
    </sourcedocument>
    <sourcedocument id="privatefiles" type="pdf">
      <name>dummy2.pdf</name>
      <filepath>c:\my documents\importfiles</filepath>
      <pages>
        <page number="10"/>
        <page number="20"/>
        <page number="15"/>
        <page number="102"/>
      </pages>
    </sourcedocument>
    <sourcedocument id="incomingchecks" type="pdf">
      <name>dummy3.pdf</name>
      <filepath>c:\my documents\importfiles</filepath>
      <pages>
        <page number="34"/>
        <page number="35"/>
        <page number="36"/>
        <page number="37"/>
        <page number="38"/>
        <page number="39"/>
      </pages>
    </sourcedocument>
    <sourcedocument id="learning" type="pdf">
      <name>dummy4.pdf</name>
      <filepath>c:\my documents\importfiles</filepath>
      <pages>
        <page number="102"/>
        <page number="22"/>
        <page number="33"/>
      </pages>
    </sourcedocument>
    <sourcedocument id="getall" type="pdf">
      <name>dummy5.pdf</name>
      <filepath>c:\my documents\importfiles</filepath>
      <pages>
        <allpages/>
      </pages>
    </sourcedocument>
    <sourcedocument id="development" type="pdf">
      <name>dummy6.pdf</name>
      <filepath>c:\my documents\importfiles</filepath>
      <pages>
        <page number="15"/>
        <page number="16"/>
        <page number="22"/>
      </pages>
    </sourcedocument>
    <sourcedocument id="screenshots" type="image">
      <name>imagegroup1</name>
      <filepath>c:\my documents\importfiles\images</filepath>
      <pages>
        <page content="walhalla.jpeg"/>
        <page conent="checkque.png"/>
        <page content="sun.tiff"/>
      </pages>
    </sourcedocument>
    <sourcedocument id="album1" type="image">
      <name>imagegroup1</name>
      <filepath>c:\my documents\importfiles\images</filepath>
      <pages>
        <allpages/>
      </pages>
    </sourcedocument>
  </sourcedocuments>
  <destinationdocuments>
    <destinationdocument id="Merger1.pdf" type="samedoc" pagesize="A4">
      <inputdirectory>c:\test\input</inputdirectory>
      <outputdir>MergeOutput1</outputdir>
      <inserts>
        <insert betweenstart="10" betweenend="11" sourcedocumentid="bills" replace="false"/>
        <insert betweenstart="15" betweenend="16" sourcedocumentid="privatefiles" replace="false"/>
        <insert betweenstart="20" betweenend="21" sourcedocumentid="incomingchecks" replace="false"/>
        <insert betweenstart="100" betweenend="101" sourcedocumentid="learning" replace="false"/>
        <insert betweenstart="201" betweenend="207" sourcedocumentid="learning" replace="true"/>
        <insert betweenstart="220" betweenend="221" sourcedocumentid="album1" replace="false"/>
      </inserts>
      <extracts>
        <pages>
          <page number="2"/>
          <page number="10"/>
          <page number="15"/>
        </pages>
      </extracts>
    </destinationdocument>
    <destinationdocument id="Merger2.pdf" type="samedoc" docname="mergeintome.pdf" pagesize="A4">
      <inputdirectory>c:\test\input</inputdirectory>
      <outputdir>same</outputdir>
      <inserts>
        <insert betweenstart="10" betweenend="11" sourcedocumentid="bills" replace="false"/>
        <insert betweenstart="15" betweenend="16" sourcedocumentid="privatefiles" replace="false"/>
        <insert betweenstart="20" betweenend="21" sourcedocumentid="incomingchecks" replace="false"/>
        <insert betweenstart="100" betweenend="101" sourcedocumentid="learning" replace="false"/>
        <insert betweenstart="201" betweenend="207" sourcedocumentid="learning" replace="true"/>
        <insert betweenstart="290" betweenend="291" sourcedocumentid="screenshots" replace="false"/>
      </inserts>
      <extracts>
        <pages>
          <page number="2"/>
          <page number="10"/>
          <page number="15"/>
        </pages>
      </extracts>
    </destinationdocument>
    <destinationdocument id="Merger3.pdf" type="newdoc" docname="doc1.pdf" newdocname="newdoc1.pdf" deleteold="false" pagesize="A4">
      <inputdirectory>c:\test\input</inputdirectory>
      <outputdir>c:\test\output</outputdir>
      <inserts>
        <insert betweenstart="10" betweenend="11" sourcedocumentid="bills" replace="false"/>
        <insert betweenstart="15" betweenend="16" sourcedocumentid="privatefiles" replace="false"/>
        <insert betweenstart="20" betweenend="21" sourcedocumentid="incomingchecks" replace="false"/>
        <insert betweenstart="100" betweenend="101" sourcedocumentid="learning" replace="false"/>
        <insert betweenstart="201" betweenend="207" sourcedocumentid="learning" replace="true"/>
      </inserts>
      <extracts>
        <pages>
          <page number="2"/>
          <page number="10"/>
          <page number="15"/>
        </pages>
      </extracts>
    </destinationdocument>
  </destinationdocuments>
</documentmerger>
